<template>
  <div class="app-container text-center">
    <h2 class="font-w">欢迎来到泰寓管家</h2>
    <div class="fc-secondary">目前不属于任何公寓，可创建公寓或与公寓管理员联系</div>
    <el-button class="custom-btn mt10" type="primary" size="large" round @click="toCreate">创建公寓</el-button>
  </div>
</template>
<script setup name="Regapartment">
import useAppStore from '@/store/modules/app'
import { useRouter } from 'vue-router'

const router = useRouter()

useAppStore().toggleSideBarHide(false)

function toCreate() {
  router.push('/regapartment/create')
}
</script>
<style lang="scss" scoped>
.custom-btn {
  padding: 6px 68px;
  font-size: 18px;
}
</style>
